package com.wowo.ffms.dao;

import com.wowo.ffms.entity.Account;
import com.wowo.ffms.entity.User;

import java.util.List;

public interface UserDao {
    public void save(User user);
    public void update(User user);
    public void delete(int id);
    public void deleteUsers(String[] ids);
    public User getUserByPK(int id);
    public List<User> getAll();
    //public boolean canLogin(String name,String pwd);
    public User getUserByName(String name);
}
